package dao;

import java.sql.SQLException;
import java.util.List;

public interface Dao<T> {
	
	public void gravar(T bean) throws SQLException;

	public T buscar(String valor)
			throws SQLException;

	public void excluir(T bean) throws SQLException;

	public List<T> obterLista(Class<T> tipo) throws SQLException;	
	public void atualizar (T entidade) throws SQLException;

}
